package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 运营统计对象 omp_qy_operation_statistics
 *
 * @author cjie
 * @date 2021-08-02
 */
@Data
@ApiModel
public class QyOperationStatistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 企业Id */
    @Excel(name = "企业Id")
    @ApiModelProperty(value = "企业Id")
    private String enterpriseId;

    /** 统计月份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计月份", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "统计月份")
    private Date statisticsMonth;

    /** 本月税收 */
    @Excel(name = "本月税收")
    @ApiModelProperty(value = "本月税收")
    private BigDecimal currentTax;

    /** 1-上月税收 */
    @Excel(name = "1-上月税收")
    @ApiModelProperty(value = "1-上月税收")
    private BigDecimal last1Tax;

    /** 1-本月税收 */
    @Excel(name = "1-本月税收")
    @ApiModelProperty(value = "1-本月税收")
    private BigDecimal current1Tax;

    /** 税收同期 */
    @Excel(name = "税收同期")
    @ApiModelProperty(value = "税收同期")
    private BigDecimal taxPeriod;

    /** 税收同比 */
    @Excel(name = "税收同比")
    @ApiModelProperty(value = "税收同比")
    private BigDecimal taxRatio;

    /** 本月利润 */
    @Excel(name = "本月利润")
    @ApiModelProperty(value = "本月利润")
    private BigDecimal currentProfit;

    /** 上月利润 */
    @Excel(name = "上月利润")
    @ApiModelProperty(value = "上月利润")
    private BigDecimal last1Profit;

    /** 1-本月利润 */
    @Excel(name = "1-本月利润")
    @ApiModelProperty(value = "1-本月利润")
    private BigDecimal current1Profit;

    /** 利润同期 */
    @Excel(name = "利润同期")
    @ApiModelProperty(value = "利润同期")
    private BigDecimal profitPeriod;

    /** 利润同比 */
    @Excel(name = "利润同比")
    @ApiModelProperty(value = "利润同比")
    private BigDecimal profitRatio;

    /** 用工人数 */
    @Excel(name = "用工人数")
    @ApiModelProperty(value = "用工人数")
    private Integer worker;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;
}
